package com.wowudi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "operation_type")
public class OperationType {
    @TableId(value = "hoy_id", type = IdType.AUTO)
    private Integer hoyId;

    /**
     * 手术名称
     */
    @TableField(value = "hoy_name")
    private String hoyName;

    /**
     * 科室id
     */
    @TableField(value = "hdc_id")
    private Integer hdcId;

    /**
     * 手术费
     */
    @TableField(value = "hoy_price")
    private BigDecimal hoyPrice;

    /**
     * 人工费
     */
    @TableField(value = "hoy_price_worker")
    private BigDecimal hoyPriceWorker;

    @TableField(value = "hoy_status")
    private String hoyStatus;

    @TableField(value = "hoy_isdel")
    private Integer hoyIsdel;

    @TableField(exist = false)
    private DepartmentClass departmentClass;

}